package com.chenshuang.service;

import com.chenshuang.bean.CartGoods;
import com.chenshuang.bean.Goods;


public class CartService {

    public CartGoods addcart(CartGoods cartgoods,Integer num) {
        System.out.println("--2-----");
            num++;
            cartgoods.setAllgoodsnum(num);
        System.out.println("--3-----");
        return cartgoods;
    }
}
